﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mobile.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.MobileTaskChangeProgressModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PleaseSelectProgress %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <nav>
		<div class="splitleft">
			<%= Html.ActionLink(Labels.Home, "Index", "Mobile") %>
        </div>
		<div class="splitright">
			<%= Html.ActionLink(Labels.Up, "Task", "Mobile", new { id = Model.Task.Task.Id }, null)%>
        </div>
    </nav>
    <h2><%= Labels.PleaseSelectProgress %></h2>
    <% var options = new List<string> {"0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"}; %>
    <% foreach (var option in options) { %>
	   <% if (option == Model.Task.Task.PercentageComplete.ToString()) { %>
			<p class="current">
		<% } else {%>
			<p>
		<% }%>
		<%=Html.ActionLink(option, "TaskSaveChangeProgress", new { taskId = Model.Task.Task.Id, progress = option }, null)%></p>
	<% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
